package com.w.wx.domain.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;

@Data
public class GoodsDeDTO {
    private Integer gid;

    private String openid;
    private String wxname;


    private String goodsName;

    private String goodsTitle;

    private BigDecimal goodsPriceNew;

    private BigDecimal goodsPriceOld;

    private String goodsXueyuan;

    private String goodsDec;
    //浏览量
    private Integer openSum;

    //用户认证状态
    private Integer imageCheckStatus;

    //发布时间
    @DateTimeFormat(pattern="yyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date issueTime;
    //详情页图片
    private HashMap<String,Object> imageUrl;
    //点赞量
    private Integer likeSum;
    //当前用户点赞状态 0为未赞 1为点赞
    private Integer likeState;


}
